<?php

class Control_Gm_sendNoticAjax
{
    function sendNoticAjax()
    {

        $qudao = MooForm::post('qudao');
        $content = MooForm::post('content');

        $sendUrl = MooConfig::get('main.url.noticeManager');
        $url = $sendUrl . "?pwd=fire1&content=".$content."&channel=".$qudao;
        //$res = MooUtil::curl_send($url);
        $res = MooUtil::curl_request($url);
        //$resArr = MooJson::decode($res, true);

        $resData = array('code'=>0,'message'=>'success');

        $rs = MooJson::encode($resData);
        exit($rs);

    }

}